// 导入：类型、接口、模块、组件、样式
import { Component } from "react";

import "./styled.scss";

interface Props {
  title: string;
}
class Index extends Component<Props> {
  render() {
    const { title } = this.props;
    return (
      <div className="qfNavBar">
        <div className="city">
          <span>城市</span>
          <img src={require("../../assets/down.png")} alt="down" />
        </div>
        <div className="title">{title}</div>
        <div className="right">&nbsp;</div>
      </div>
    );
  }
}
export default Index;
